package com.hotel.project.demo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("hotel")
public class HotelEntity extends BaseEntity{
    @TableField("name")
    private String name;
    @TableField("longitude")
    private Double longitude;
    @TableField("latitude")
    private Double latitude;
    @TableField("city_name")
    private String cityName;
    @TableField("region")
    private String region;
    @TableField("landmark_nearby")
    private String landmarkNearby;
    @TableField("address_detail")
    private String addressDetail;
    @TableField("notice")
    private String notice;
    @TableField("hint")
    private String hint;
    @TableField("open_date")
    private Date openDate;
    @TableField("decorate_date")
    private Date decorateDate;
    @TableField("room_count")
    private Integer roomCount;
    @TableField("introduce")
    private String introduce;
    @TableField("grade")
    private Integer grade;
    @TableField("evaluate_score")
    private Float evaluateScore;
    @TableField("evaluate_count")
    private Integer evaluateCount;
    @TableField("sale_count")
    private Integer saleCount;
    @TableField("homepage_image_url")
    private String homepageImageUrl;
    @TableField("collect_count")
    private Integer collectCount;
    @TableField("floor_original_price")
    private Integer floorOriginalPrice;
    @TableField("floor_special_price")
    private String floorSpecialPrice;
    @TableField("entry_departure_time")
    private String entryDepartureTime;
    @TableField("brand")
    private String brand;
    @TableField("phone1")
    private String phone1;
    @TableField("phone2")
    private String phone2;
    /**
     * 应展示的评论
     */
    @TableField(exist = false)
    private List<HotelCommentEntity> commentEntityList;
    /**
     * 应展示的问题
     */
    @TableField(exist = false)
    private List<HotelQuestionEntity> questionEntityList;
    /**
     * 酒店下属住房
     */
    @TableField(exist = false)
    private List hotelServer;
    /**
     * 展示图片地址
     */
    @TableField(exist = false)
    private List<HotelPictureEntity> hotelHotelPictureEntities;
    /**
     * 与当前位置距离 单位是米
     */
    @TableField(exist = false)
    private Integer interval;
    /**
     * 其他信息
     */
    @TableField(exist = false)
    private Object data;
}
